@import '~ant-design-vue/es/style/themes/default.less';

html,
body,
#app,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
}

ul,
ol {
  list-style: none;
}

// 数据列表 样式
.table-alert {
  margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 18px;

  button {
    margin-right: 8px;
  }
}
// 数据列表 搜索条件
.table-page-search-wrapper {
  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-right: 0;
      margin-bottom: 24px;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        width: auto;
        padding-right: 8px;
        line-height: 32px;
      }

      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;

    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;

        > span {
          display: block;
        }
      }
    }
  }
}
.ant-layout-header,.ant-pro-global-header{
  background-color: #000;
  color: #fff;
  height: 48px;
}
.ant-pro-global-header-trigger{
  height: 48px;
  line-height: 48px;
}
.ant-pro-global-header-index-right .ant-pro-global-header-index-action{
  display: block;
  height: 48px;
  line-height: 48px;
}
.ant-pro-global-header-index-right .ant-pro-account-avatar .antd-pro-global-header-index-avatar{
  margin:calc((48px - 24px) / 2) 10px calc((48px - 24px) / 2) 0;
}
.cont_box{
  margin-top: 20px;
  padding: 20px;
  background-color: #fff;
}
._modal_form .ant-form-item{
  margin-bottom: 10px;
}



.flex,
[class*=" flex-"],
[class^="flex-"] {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}
.flex-basebetwn{
  justify-content: space-between;
  align-items: baseline;
}
.flex-baseline{
  align-items: baseline;
}
.flex-col {
  flex-direction: column;
}

.flex-aic {
  justify-content: flex-start;
  align-items: center;
}

.flex-aic-top{
  justify-content: flex-start;
  align-items: flex-start;
}
.flex-tops {
  justify-content: flex-start;
  align-items: end;
}

.flex-wrap {
  flex-wrap: wrap;
}
.flex-end {
  justify-content: flex-end !important;
  align-items: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.flex-around {
  justify-content: space-around;
  align-items: center;
}

.flex-ctr-end {
  justify-content: center;
  align-items: flex-end;
}

.txt-over,
[class*="--txt-over"] {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}

[class*="--txt-over-"],
.txt-over-2,
.txt-over-3 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  max-width: 100%;
  white-space: normal;
}

[class*="--txt-over-2"],
.txt-over-2 {
  -webkit-line-clamp: 2 !important;
}

.txt-over-3 {
  -webkit-line-clamp: 3;
}

.table_header{
  padding: 0 0 20px;
  .table_name{
    color: #333;
    font-size:16px;
    font-weight: 500;
  }
  .table_butns{
    button{
      margin-left: 10px;
    }
  }
}
.advanced_butns{
  button{
    margin-right: 10px;
  }
}
.table_img{
  display: inline-block;
  width: 100px;
  max-height: 100px;
  cursor: pointer;
}
.editor-wrapper .w-e-toolbar,.editor-wrapper .w-e-text-container{
  z-index: 8!important;
}
.two_line{
  height: 42px;
}
.ant-table-thead > tr > th, .ant-table-tbody > tr > td{
  padding: 10px;
}